package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

@XmlRootElement(name = "user")
public class FAUser
{
    @XmlElement(name = "companyId")
    private Integer companyId;

    @XmlElement(name = "email")
    private String email;
    @XmlElement(name = "first-name")
    private String firstName;
    @XmlElement(name = "last-name")
    private String lastName;
    @XmlElement(name = "id")
    private Integer id;
    @XmlElement(name = "last-logged-in")
    private Date lastLoggedInAt;
    @XmlElement(name = "opening-director-loan-account-balance")
    private Double openingDirectorLoanAccountBalance;
    @XmlElement(name = "opening-expense-balance")
    private Double openingExpenseBalance;
    @XmlElement(name = "opening-salary-balance")
    private Double openingSalaryBalance;
    @XmlElement(name = "opening-share-or-capital-balance")
    private Double openingShareOrCapitalBalance;
    @XmlElement(name = "role")
    private String role;

    public Integer getCompanyId()
    {
        return companyId;
    }

    public String getEmail()
    {
        return email;
    }

    public String getFirstName()
    {
        return firstName;
    }

    public String getLastName()
    {
        return lastName;
    }

    public Integer getId()
    {
        return id;
    }

    public Date getLastLoggedInAt()
    {
        return lastLoggedInAt;
    }

    public Double getOpeningDirectorLoanAccountBalance()
    {
        return openingDirectorLoanAccountBalance;
    }

    public Double getOpeningExpenseBalance()
    {
        return openingExpenseBalance;
    }

    public Double getOpeningSalaryBalance()
    {
        return openingSalaryBalance;
    }

    public Double getOpeningShareOrCapitalBalance()
    {
        return openingShareOrCapitalBalance;
    }

    public String getRole()
    {
        return role;
    }
}
